/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aplikasi.com.interfac;

import aplikasi.com.entity.pelanggan;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author Henfryandie
 */
public interface interPelanggan {

    pelanggan insertKar(pelanggan o) throws SQLException;

    void update(pelanggan o) throws SQLException;

    void delete(String nama) throws SQLException;

    String viewNama(String nama) throws SQLException;

    List<pelanggan> getAll() throws SQLException;

    List<pelanggan> viewPelanggan() throws SQLException;
}
